/**
 * Copyright 2018 asiainfo Inc.
 **/
package com.myz.rabbitmq.common.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * 统一返回值,可描述失败细节
 *
 * @author maoyz on 2018/8/30
 * @version: v1.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
public class DetailResponse {

    /**
     * 是否成功
     */
    private boolean isSuccess;

    /**
     * 错误描述
     */
    private String errorMessage;
}
